

export default class fileinfo {
    constructor(
        name,
        hash,
        progress = 0,
        speed = 0,
        parse = 0,
        blocks = []
    ) {
        this.name = name;
        this.hash = hash;
        this.progress = progress;
        this.speed = speed;
        this.parse = parse;
        this.blocks = blocks;
    }
}